package com.xja.service;

import com.xja.entity.ContentType;
import com.xja.entity.CourseInfo;

import java.util.List;

public interface CourseInfoService{


    int deleteByPrimaryKey(Integer cid);

    int insert(CourseInfo record);

    int insertSelective(CourseInfo record);

    CourseInfo selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(CourseInfo record);

    int updateByPrimaryKey(CourseInfo record);

    List<CourseInfo> getCourses();

    boolean addCourse(CourseInfo courseInfo);

    CourseInfo getCourseById(Integer cid);

    List<ContentType> getCourseType();

    void updateStatus();
}
